package com.fxu.framework.core.dto;

import com.fxu.framework.core.base.Constant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 分页请求类
 * @author fangxu
 * @version 1.0.0
 */
@Getter
@Setter
@ApiModel(value = "PageReq", description = "分页请求类")
public class PageReq implements Serializable {

    @ApiModelProperty(value = "pageNum", required = true)
    private Integer pageNum = Constant.DEFAULT_PAGE_NUM;

    @ApiModelProperty(value = "pageSize", required = true)
    private Integer pageSize = Constant.DEFAULT_PAGE_SIZE;
}
